# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models

# Create your models here.

class UserInfo(models.Model):
	uname=models.CharField('用户',max_length=20)
	upwd=models.CharField('密码',max_length=40)
	uemail=models.CharField('邮箱',max_length=30)
	ushou=models.CharField(max_length=20, default='')
	uaddress=models.CharField(max_length=100, default='')
	uyoubian=models.CharField(max_length=6, default='')
	uphone=models.CharField(max_length=11, default='')

	def __unicode__(self):
		return self.uname
